package cn.iocoder.yudao.module.enterprise.controller.admin.praxisProjectResult.vo;

import cn.iocoder.yudao.module.enterprise.controller.admin.praxisProject.vo.EnterpriseAnnexVO;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@ApiModel("管理后台 - 项目结果公示EnterpriseProjectResultRespVO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class EnterpriseProjectResultRespVO extends EnterpriseProjectResultBaseVO {

    @ApiModelProperty(value = "编号", required = true)
    private Long id;

    @ApiModelProperty(value = "创建时间", required = true)
    @JsonFormat(shape= JsonFormat.Shape.STRING, timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @ApiModelProperty(value = "企业名称")
    private String companyName;

    @ApiModelProperty(value = "关联项目")
    private String projectName;

    @ApiModelProperty(value = "创建人")
    private String creator;

    @ApiModelProperty(value = "部门")
    private String dept;

    @ApiModelProperty(value = "职位")
    private String job;

    @ApiModelProperty(value = "附件集合")
    private List<EnterpriseAnnexVO> annexList;
}
